package com.cskaoyan.demo7.mapper;

import com.cskaoyan.demo7.bean.model.MarketGoodsProduct;
import com.cskaoyan.demo7.bean.model.MarketGoodsProductExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * @Description：
 * @Author：BLUEBLANK
 * @Date：2024/4/22 20:06
 */


public interface MarketGoodsProductMapper {
    long countByExample(MarketGoodsProductExample example);

    int deleteByExample(MarketGoodsProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketGoodsProduct record);

    int insertOrUpdate(MarketGoodsProduct record);

    int insertOrUpdateSelective(MarketGoodsProduct record);

    int insertSelective(MarketGoodsProduct record);

    List<MarketGoodsProduct> selectByExample(MarketGoodsProductExample example);

    MarketGoodsProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketGoodsProduct record, @Param("example") MarketGoodsProductExample example);

    int updateByExample(@Param("record") MarketGoodsProduct record, @Param("example") MarketGoodsProductExample example);

    int updateByPrimaryKeySelective(MarketGoodsProduct record);

    int updateByPrimaryKey(MarketGoodsProduct record);

    int updateBatch(List<MarketGoodsProduct> list);

    int updateBatchSelective(List<MarketGoodsProduct> list);

    int batchInsert(@Param("list") List<MarketGoodsProduct> list);
}